package me.atbar.moonlib.util;

import lombok.NonNull;
import java.text.SimpleDateFormat;
import java.util.Calendar;

public class TimeUtils {

    private TimeUtils() {}

    public static String getNow(@NonNull String format) {
        return new SimpleDateFormat(format).format(Calendar.getInstance().getTime());
    }

}
